/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * DQEPanel.java
 *
 * Created on 25-nov-2011, 9:56:00
 */
package DQE.GUI;

/**
 *
 * @author Física
 */
public class DQEPanel extends javax.swing.JPanel {

    /** Creates new form DQEPanel */
    public DQEPanel() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonGroup1 = new javax.swing.ButtonGroup();
        buttonGroup2 = new javax.swing.ButtonGroup();
        jScrollPane1 = new javax.swing.JScrollPane();
        jLabel8 = new javax.swing.JLabel();
        radioMM = new javax.swing.JRadioButton();
        radioNyquist = new javax.swing.JRadioButton();
        radio2D = new javax.swing.JRadioButton();
        radio3D = new javax.swing.JRadioButton();

        buttonGroup1.add(radioMM);
        buttonGroup1.add(radioNyquist);

        buttonGroup2.add(radio2D);
        buttonGroup2.add(radio3D);

        jLabel8.setBackground(new java.awt.Color(102, 255, 51));
        jLabel8.setText("Gráficas: MTF, NPS, DQE");
        jLabel8.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jLabel8.setOpaque(true);
        jScrollPane1.setViewportView(jLabel8);

        radioMM.setSelected(true);
        radioMM.setText("mm-1");

        radioNyquist.setText("% Nyquist");
        radioNyquist.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                radioNyquistActionPerformed(evt);
            }
        });

        radio2D.setSelected(true);
        radio2D.setText("2D");

        radio3D.setText("3D");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(radioMM)
                        .addGap(18, 18, 18)
                        .addComponent(radioNyquist))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 546, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(radio3D)
                            .addComponent(radio2D))))
                .addContainerGap(61, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(radio2D)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(radio3D))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 585, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(radioMM)
                            .addComponent(radioNyquist))))
                .addContainerGap(12, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void radioNyquistActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_radioNyquistActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_radioNyquistActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.ButtonGroup buttonGroup2;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JRadioButton radio2D;
    private javax.swing.JRadioButton radio3D;
    private javax.swing.JRadioButton radioMM;
    private javax.swing.JRadioButton radioNyquist;
    // End of variables declaration//GEN-END:variables
}
